/*
 * Copyright (c) 2009. Silenus Consultoria, S.L.
 */
package es.silenus.detecta.dao;

import es.silenus.detecta.model.Role;


/**
 * Organization DAO.
 *
 * @author <a href="mailto:malonso@silenus-consultoria.es">Mariano Alonso</a>
 * @since 31-mar-2009 13:01:28
 */
public interface RoleDAO extends ReadDAO<Role, Integer> {
	/**
	 * Finds a role by its name.
	 *
	 * @param roleName the role
	 *
	 * @return a role by its name.
	 */
	public Role findByName(final String roleName);
}
